package main.java.service;

import main.java.dao.BrandMapper;
import main.java.pojo.Brand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandServiceImp implements BrandService{

    @Autowired
    private BrandMapper brandMapper;

    @Override
    public List<Brand> queryBrand() {
        return brandMapper.queryBrand();
    }

    @Override
    public List<Brand> queryBrandOrderByIncome() {
        return brandMapper.queryBrandOrderByIncome();
    }

	@Override
	public List<Brand> queryBrandOrderByOutcome() {
		// TODO Auto-generated method stub
		return brandMapper.queryBrandOrderByOutcome();
	}
}
